WPDesk\FS\TableRate\FreeShipping\FreeShippingNotice S

Total Complexity 30
Dependencies 3
Dependents 1
Total lines 181
Lines of code 92
Logical lines of code 52
Comment lines 55
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
add_notice_if_should()
A
54 8 21
add_checkout_notice_to_fragments()
S
56 5 19
get_free_shipping_notice_data()
S
64 3 10
should_add_notice_on_current_page()
S
78 2 3
print_notice()
S
68 2 7
get_notice_message()
S
69 2 7
prepare_notice_text()
S
71 2 5
__construct()
S
74 1 5
hooks()
S
79 1 3
add_checkout_notice_container()
S
80 1 3
get_left_free_shipping_notice_container()
S
79 1 3
get_container_class()
S
79 1 3
get_fragments_id()
S
78 1 3